package br.com.medmark.model.hibernate.dao;

import java.sql.SQLException;
import java.util.List;

public interface GenericDAO<T> {

	public void save(T obj) throws SQLException;

	public void delete(T objId) throws SQLException;

	public void deleteFromList(T[] list) throws SQLException;

	public List<T> listarObjetos();

	public T localizaObjeto(Long objId);

	public T update(T obj) throws SQLException;

}
